﻿using System.Windows;

namespace DotNetUI.Models
{
    /// <summary>
    /// 页面信息
    /// </summary>
    public class PageInfoEventArgs : RoutedEventArgs
    {

        public PageInfoEventArgs(int pageIndex, int pageSize, RoutedEvent routedEvent) : base(routedEvent)
        {
            PageIndex = pageIndex;
            PageSize = pageSize;
        }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; private set; }
        /// <summary>
        /// 页大小
        /// </summary>
        public int PageSize { get; private set; }
    }
}
